<html>
<head>
<title>Patching a CQ/XML Server</title>
<link rel='stylesheet' type='text/css' href='admin.css' />
<link rel='shortcut icon' href='pics/wrench_orange.png' />
</head>

<body>
<table class='hdr'>
<tr>
  <td><a href='admin.html'>&#171; CQ/XML Admin Docs</a></td>
  <th>Patching a CQ/XML Server</th>
  <td align='right'><b>Updated:</b> <script>document.write( document.lastModified );</script></td>
</tr>
</table>

<ol>
  <li>From ClearCase, copy the new files to an empty directory that is accesible from the CQ/XML server.</li>
  <ul>
    <li>I always create a subdirectory in <code>//indshare/cqxmlintf/release</code> .</li>
    <li>From the CQ/XML servers, you will need to use standard UNIX paths instead of the UNC path specified above.</li>
    <ul>
      <li>For example, the previous path would resolve to <code>/indshare/cqxmlintf/release</code> .</li>
    </ul>
    <li class='warn'>Henceforth, this directory will be referred to as '<code>[srcdir]</code>'.</li>
  </ul>
  <li><a href='standby.html'>Put the server in standby.</a></li>
  <ul>
    <li>This prevents users from connecting to the server while the software is being upgraded.</li>
  </ul>
  <li><a href='login.html'>Login to the server with <code>root</code> privileges.</a></li>
  <li>Run <code>/opt/cqxmlintf/cprls2svr.pl -k -d [srcdir]</code></li>
  <ul>
    <li>This script will copy the files and stop the currently running CQ/XML Interface process.</li>
    <li>The CQ/XML Interface will restart within 5 minutes.</li>
  </ul>
</ol>

</body>
</html>
